<template>
  <div id="login-wp">
    <!-- 顶部导航 -->
    <top-bar>
      <site slot="tleft"></site> <tb-right slot="tright"></tb-right>
    </top-bar>
    <!-- 搜索框 -->
    <search-wp>
      <LOGO slot="logo"></LOGO>
      <h3 slot="tit">会员登录</h3>
    </search-wp>
    <div class="login-content">
      <div class="login-box">
        <slot name="login-container"> </slot>
      </div>
    </div>
    <Bottom></Bottom>
  </div>
</template>

<script>
import searchWp from '@/components/search/searchWp.vue';
import LOGO from '@/components/search/logo.vue';
import site from '@/components/header/site.vue';
import tbRight from '@/components/header/tbRight.vue';
import topBar from '@/components/header/topBar.vue';
import Bottom from '@/components/bottom/bottom.vue';

export default {
  name: 'loginWp',
  components: {
    site,
    tbRight,
    topBar,
    LOGO,
    searchWp,
    Bottom,
    // LoginContainer,
  },
};
</script>

<style scoped>
.search-wp h3 {
  color: #666;
  font-size: 20px;
  font-weight: 500;
  margin-left: 49px;
  padding-left: 49px;
  /* border-left: 1px solid red; */
  line-height: 100px;
  position: relative;
}
.search-wp h3::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 40px;
  left: 0;
  top: 30px;
  background-color: #cecece;
}
.login-content {
  height: 500px;
  width: 100%;
  background: url('./bg.png') no-repeat center;
  background-size: cover;
}
.login-box {
  width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: flex-end;
}
</style>
